package com.tshopping.service;

import com.tshopping.bean.Cart;
import com.tshopping.bean.DataModel;
import com.tshopping.bean.Page;
import com.tshopping.util.ResponseData;

import java.util.ArrayList;

public interface CartService {

    ResponseData getCartsByUser(int user, int currentPage);

    ResponseData addCart(int user,int goods,int parameter,int number,String time);

    ResponseData deleteCartById(int id);

    ResponseData updateCartByNumber(int number,int id);
}
